#include <iostream>
#include <stdlib.h>
using namespace std;

class Stack{
  int *arr;
  int top;
  int capacity;
public:
  Stack(){
    arr = (int*)malloc(sizeof(int)*5);
    top = 0;
    capacity = 5;
    cout << "Stack::Stack" << endl;
  }
  ~Stack(){
    free(arr);
    cout << "Stack::~Stack" << endl;
  }
};

class Myqueue{
  Stack st1;
  Stack st2;
  int sz;
public:
  Myqueue(int){
    sz = 0;
    cout << "Myqueue::Myqueue" <<endl;
  }
  ~Myqueue(){
    cout << "Myqueue::~Myqueue" <<endl;
  }
};

int main(){
  Myqueue mque(1);
  cout << endl;
  return 0;
}
